Exercise 1 (Homework 6).
(R (decidable/recursive languages),
RE (semi-decidable/ recursively enumerable languages),
coRE)
Classification I: basic properties of TMs
For each of the following languages L, decide whether L\in \mathbf{R}, L\in \mathbf{RE}\setminus \mathbf{R}, L\in \mathbf{coRE}\setminus \mathbf{R}, or L\notin \mathbf{RE}\cup \mathbf{coRE}.
- \{p \mid M_{p}(p)=p\}
- \{p \mid \exists y\ M_{y}(p)=p\}
- \{\langle p,z\rangle \mid \exists y\ M_{p}(y)=z\}
- \{\langle p,z\rangle \mid \exists y\ M_{p}(y)\neq z\}
- \{\langle p,q\rangle \mid \forall z\ (M_p(z)\!\uparrow \text{ if and only if } M_q(z)\!\uparrow)\}
- \{\langle p,q\rangle \mid \forall z\ (M_p(z)\!\downarrow \text{ if and only if } M_q(z)\!\uparrow)\}